<div class="tabItemContainer">
    <ul>
        <li><a href="/xinxipilou.html" @if(!empty($type)&&$type=="about_us")class="tabItemCurrent"@endif>关于我们</a></li>
        <li><a href="/tm.html" @if(!empty($type)&&$type=="tm")class="tabItemCurrent"@endif>团队介绍</a></li>
        <li><a href="/pter.html" @if(!empty($type)&&$type=="pter")class="tabItemCurrent"@endif>合作伙伴</a></li>
        <li><a href="/media.html" @if(!empty($type)&&$type=="media")class="tabItemCurrent"@endif>媒体报道</a></li>
        <li><a href="/notice.html" @if(!empty($type)&&$type=="notice")class="tabItemCurrent"@endif>网站公告</a></li>
        <li><a href="/rule.html" @if(!empty($type)&&$type=="rule")class="tabItemCurrent"@endif>监管法规</a></li>
        <li><a href="/findwe.html" @if(!empty($type)&&$type=="find_we")class="tabItemCurrent"@endif>联系我们</a></li>
    </ul>
</div>
<script>
    $(function(){
        $('.tabItemContainer ul li a').each(function(){
            if($($(this))[0].href==String(window.location))
                $(this).addClass('tabItemCurrent').parent().siblings().find("a").removeClass("tabItemCurrent");
        });
    })
</script>